import { createSelector } from 'reselect';
const getContext = things => things.data.context;
const getThings = things => things.data;
const getLevel = things => things.data.level;
const getThingsByContext = createSelector(
    [getThings, getContext],
    (things, context) => things.filter(thing => context.indexOf(thing.context) > -1)
);
const getThingsByLevel = createSelector([getThings,getLevel],(things,level)=>things.)
